<div id="steps" class="form complex">

<?
	$value = array(
		'act_form'				=> "user/user_management/change_pass/"
	);
	
?>
<script>
            function validateForm()
            {
               if(document.frm.passwordbaru.value!= document.frm.repasswordbaru.value)
                {
                    alert("Cek kembali pengisian password anda");
                    document.frm.repasswordbaru.focus();
                    document.frm.passwordbaru.value=null;
                    document.frm.repasswordbaru.value=null;
                    return false;
                }
            }
        </script>
<?= form_open($value["act_form"]); ?>

	<form name="frm" type="post" onsubmit="return validateForm()">
		<fieldset class="step">
			<p>
				<label>Password Lama</label>
				<input type="password" id="passwordlama" name="passwordlama"/>
			</p>
			<?php echo form_error('passwordlama'); ?>
			<p>
				<label>Password Baru</label>
				<input type="password" name="passwordbaru" id="passwordbaru"/>
			</p>
			<?php echo form_error('passwordbaru'); ?>
			<p>
				<label>Konfirmasi Password</label>
				<input type="password" name="repasswordbaru" id="repasswordbaru"/>
			</p>
			<?php echo form_error('repasswordbaru'); ?>
			<p class="submit">
				<button id="registerButton" type="submit">Simpan</button>&nbsp;
				<button id="registerButton" type="reset">Reset</button>&nbsp;
				<button id="registerButton" type="submit" onClick="history.back();return false;">Kembali</button>
			</p >

		</fieldset>
	</form> 
<?php
echo form_close();
?>
</div>